package com.function;

import java.util.function.BiConsumer;

public class BiConsumerTest {
    public static void main(String[] args) {
        BiConsumer<String, String> ab = new BiConsumer<String, String>() {
            @Override
            public void accept(String s, String s2) {
                System.out.println(s+s2);
            }
        };
        ab.accept("杨婷说自己是是个大笨蛋,","最大的大笨蛋");
        BiConsumer<String, String> biConsumer1=(s1,s2)->{
            System.err.println(s1 + s2);
        };
        biConsumer1.accept("uiouo", "hjk");
    }
    }

